#pragma once
#include "packet.h"

namespace KRPC {

struct COM
{
	virtual ~COM() {}

	virtual bool recv(Packet &packet, int msec) = 0;

	virtual bool send(const Packet &packet) = 0;
	
	virtual bool isLocal() const {return true;}
};

}